package core;

import java.util.GregorianCalendar;

public class Event {
	public String name;
	public GregorianCalendar start;
	public GregorianCalendar end;
	
	//duration to be saved as terms of hours
	public int duration;
	public String description;
	
	public Event() {
		
	}
	
	public Event(String name) {
		this.name = name;
	}
	
	public Event(String name, GregorianCalendar start) {
		this.name = name;
		this.start = start;
	}

	public Event(String name, GregorianCalendar start, String desc) {
		this.name = name;
		this.start = start;
		this.description = desc;
	}

	public Event(String name, GregorianCalendar start, int duration) {
		super();
		this.name = name;
		this.start = start;
		this.duration = duration;
	}

	public Event(String name, GregorianCalendar start, int duration, String desc) {
		super();
		this.name = name;
		this.start = start;
		this.duration = duration;
		this.description = desc;
	}

	public Event(String name, int duration) {
		this.name = name;
		this.duration = duration;
	}

	public Event(String name, int duration, String desc) {
		this.name = name;
		this.duration = duration;
		this.description = desc;
	}

	public Event(String name, GregorianCalendar start, GregorianCalendar end,
			int duration, String description) {
		this.name = name;
		this.start = start;
		this.end = end;
		this.duration = duration;
		this.description = description;
		
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String desc) {
		this.description = desc;
	}

	public GregorianCalendar getStart() {
		return start;
	}

	public void setStart(GregorianCalendar start) {
		this.start = start;
	}

	public GregorianCalendar getEnd() {
		return end;
	}

	public void setEnd(GregorianCalendar end) {
		this.end = end;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}
}
